import React from "react";
import { Tabs } from 'antd';
import type { TabsProps } from 'antd';
import SynList from "./SynList";
const LogIndex: React.FC = () => {
    const onChange = (key: string) => {
        console.log(key);
    };
    const items: TabsProps['items'] = [
        {
            key: '1',
            label: '待同步数据',
            children: <SynList/>,
        },
        {
            key: '2',
            label: '已完成',
            children: 'Content of Tab Pane 2',
        }
    ];
    return  <div>
        日志页面
        <Tabs defaultActiveKey="1" items={items} onChange={onChange} />
    </div>
}
export default LogIndex
